package com.spzx.cart.service;

import com.spzx.cart.api.domain.CartInfo;

import java.util.List;

public interface CartService {

    Boolean addToCart(Long skuId, Integer skuNum);

    List<CartInfo> cartList();

    void deleteCart(Long skuId);

    void clearCart();

    void checkCart(Long skuId, Integer status);

    void allCheckCart(Integer status);

    //获取已经选中的所有购物项
    List<CartInfo> getCheckedCartInfo(Long userId);

    void chearCheckedCartInfo(Long userId);
}
